CH5M3D: an HTML5 program for creating 3D molecular structures
نویسنده
چکیده
BACKGROUND While a number of programs and web-based applications are available for the interactive display of 3-dimensional molecular structures, few of these provide the ability to edit these structures. For this reason, we have developed a library written in JavaScript to allow for the simple creation of web-based applications that should run on any browser capable of rendering HTML5 web pages. While our primary interest in developing this application was for educational use, it may also prove useful to researchers who want a light-weight application for viewing and editing small molecular structures. RESULTS Molecular compounds are drawn on the HTML5 Canvas element, with the JavaScript code making use of standard techniques to allow display of three-dimensional structures on a two-dimensional canvas. Information about the structure (bond lengths, bond angles, and dihedral angles) can be obtained using a mouse or other pointing device. Both atoms and bonds can be added or deleted, and rotation about bonds is allowed. Routines are provided to read structures either from the web server or from the user's computer, and creation of galleries of structures can be accomplished with only a few lines of code. Documentation and examples are provided to demonstrate how users can access all of the molecular information for creation of web pages with more advanced features. CONCLUSIONS A light-weight (≈ 75 kb) JavaScript library has been made available that allows for the simple creation of web pages containing interactive 3-dimensional molecular structures. Although this library is designed to create web pages, a web server is not required. Installation on a web server is straightforward and does not require any server-side modules or special permissions. The ch5m3d.js library has been released under the GNU GPL version 3 open-source license and is available from http://sourceforge.net/projects/ch5m3d/.
منابع مشابه
Chemozart: a web-based 3D molecular structure editor and visualizer platform
BACKGROUND Chemozart is a 3D Molecule editor and visualizer built on top of native web components. It offers an easy to access service, user-friendly graphical interface and modular design. It is a client centric web application which communicates with the server via a representational state transfer style web service. Both client-side and server-side application are written in JavaScript. A co...
متن کاملDSSR-enhanced visualization of nucleic acid structures in Jmol
Sophisticated and interactive visualizations are essential for making sense of the intricate 3D structures of macromolecules. For proteins, secondary structural components are routinely featured in molecular graphics visualizations. However, the field of RNA structural bioinformatics is still lagging behind; for example, current molecular graphics tools lack built-in support even for base pairs...
متن کاملWeb-based Visualisation of the Generalised 3D City Models using HTML5 and X3DOM
Efficient visualisation of 3D city models in various scales is one of the pivotal techniques to support applications in mobile and Internet environments. In this paper, a framework is proposed to visualise online 3D city models using Internet Browsers without plugins. The City Geography Makeup Language (CityGML) and Extensible 3D (X3D) are used to represent and present the 3D city models. Then,...
متن کاملDeclarative (X)3D in HTML5
In this demo description we present X3DOM, which is an open source framework and runtime system to support the ongoing discussion in the Web3D and W3C communities how an integration of HTML5 and declarative 3D graphics can look like by including X3D elements as part of the HTML5 DOM tree. The goal here is to have a live X3D scene-graph integrated into the HTML DOM, which allows manipulating the...
متن کاملHydra: An HTML5-Based Application for High- Throughput Visualization of Ligand Docking
Hydra is an HTML5-based application for highthroughput visualization of molecular docking simulations. Unlike existing solutions, Hydra’s implementation is platform agnostic, and therefore can be deployed quickly and cheaply across various hardware configurations. Additionally, it is designed with an intuitive interface that is scalable with respect to screen sizes, ranging from mobile devices ...
متن کامل